home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
FAMOUS4.422
< prev
next >
Wrap
Text File
|
1993-04-12
|
8KB
|
291 lines
Yeast Infection - fake virus! (FAMOUS4.MOD) funny!!!
Famous Star #1 @6971 3≡7Cha-CHING!¡!¡3≡
Fri Apr 09 06:40:32 1993
╔═══════════════════════════════════════════════════════════════════════════╗
║ Mod Name : Yeast Infection!!! (A harmless, but scarey joke.) ║
║ Filename : FAMOUS4.MOD Mod Version : 1.03 ║
║ Author : Famous Star (IceNET 1@6971) Date : 04/09/93 ║
║ WWIV Version : 4.21a (Maybe others) Files : BBS.C, FCNS.H ║
║ Difficulty : █▒▒▒▒▒▒▒▒▒ (Can you say "Hi. Welcome to Carl's Jr. May I ║
║ take your order please?") ║
║ Description : These days, it seems that everyone is very concerned about ║
║ computer virii. I decided to have some fun with my users. What this ║
║ mod will do is simulate a *FAKE & HARMLESS* virus by me called the ║
║ "Yeast Infection"! It will first show an ANSI screen telling the user ║
║ that they're "Now infected...etc...", drop to DOS from a simulated ║
║ Telemate, pause, format drive C:, do some fake line noise, show the ║
║ familiar "....bytes free...bytes in bad sectord...etc..." screen, then ║
║ pause, inform the user that it was a joke, then return to the bbs! ║
╚═══════════════════════════════════════════════════════════════════════════╝
┌───────────────────────────────────────────────────────────────────────────┐
│ Disclaimer: If your computer gets stoned, your daughter gets pregnant, or │
│ your little brother decides that 'FORMAT C:/U' is the latest in cool │
│ video games- and doesn't understand what 'WARNING, ALL DATA ON NON= │
│ REMOVABLE DRIVE C: WILL BE LOST! Proceed with format (Y/N)?_' means, │
│ then don't come crying to me! │
└───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────────────────┐
│ "My user list just got trashed!" PLEASE - backup before ANY mod. │
└───────────────────────────────────────────────────────────────────────────┘
Okay...open up BBS.C and change / add the following:
void mainmenu()
{
char *s, s1[81],s2[81];
int i, yeast; /* CHANGE - add 'yeast' */
long l;
/* Much FURTHER DOWN IN VOID MAINMENU...*/
prt(2,s1);
helpl=1;
s=mmkey(0);
helpl=0;
yeast=(rand()%100)+1; /* ADD */
if(yeast==50) /* ADD */
yeast_infect(); /* ADD */
if (s[0])
for (i=0; i<MAX_SUBS; i++)
if (strcmp(usub[i].keys,s)==0)
cursub=i;
sysopchar(s);
/* Now move on down to void dlmainmenu(void)... */
void dlmainmenu(void)
{
char *s, s1[81],s2[81],ch;
int i,i1,i2,abort,next,yeast; /* CHANGE - add 'yeast' */
messagerec m;
/* Further down... */
if (s1[0]==0)
sprintf(s1,"(%s)-(%s) :",udir[curdir].keys,directories[udir[curdir].subnum]
.name);
prt(2,s1);
helpl=2;
s=mmkey(1);
helpl=0;
yeast=(rand()%100)+1; /* ADD */
if(yeast==50) /* ADD */
yeast_infect(); /* ADD */
if (s[0])
for (i=0; i<64; i++)
if (strcmp(udir[i].keys,s)==0)
curdir=i;
if (strlen(s)>2) {
sprintf(s1,"//%s",s);
sysopchar(s1);
/* Okay...now down at the VERY BOTTOM of BBS.C, add this entire void... */
void yeast_infect()
{
int m,j,j1,z;
char k3[81],r[81],t[81];
j=0;
j1=0;
z=0;
m=0;
outchr(12);
printfile("infected.msg");
nl();
sysoplog(" 6*** USER GOT HIT BY THE YEAST INFECTION!!! ***");0
delay(4500);
outchr(12);
ansic(0);
pl("Microsoft(R) MS-DOS(R) Version 6");
pl(" (C)Copyright Microsoft Corp 1981-1993.");
nl();
delay(1000);
pl("Type 'EXIT' to return to Telemate . . .");
nl();
outstr("[TM] C:\\TELE> ");
delay(3000);
slowtype(0,"format c:");
nl(); nl();
pl("WARNING, ALL DATA ON NON-REMOVABLE DISK");
pl("DRIVE C: WILL BE LOST!");
outstr("Proceed with format (Y/N)? ");
delay(2000);
slowtype(0,"Y");
nl(); nl();
pl("Checking existing disk format.");
delay(800);
pl("Saving UNFORMAT information.");
nl();
pl("Verifying 120M");
nl();
strcpy(k3,"0 percent completed.");
outstr(k3);
do {
m++;
z=0;
do {
z++;
left(strlen(k3));
sprintf(k3,"%d percent completed. ",z);
outstr(k3);
delay(190);
checkhangup();
} while ((z<100) && (!hangup));
} while ((m<1) && (!hangup));
nl();
pl("Format complete.");
delay(500);
outchr(12);
j1=(rand() % 20) + 1000;
for (j=0; j<j1; j++)
outchr(rand() % 256);
nl();
ansic(0);
printfile("fakeform.msg");
delay(3000);
nl(); nl();
pl("TM.EXE not found.");
pl("COMMAND.COM not found.");
nl();
outstr("[TM] C:\\TELE> ");
delay (5000);
nl();
pl("4Ha! Ha! Ha! This was only a JOKE!!!");0
nl();
delay(1500);
pl("6Returning to the bbs.......");0
delay(1500);
}
If you don't have ENHANCE.C mod, then add the following voids just below the
yeast one (the following by Tolkien #1 @3456)...
/*
* This function will type out a string at random speed, as if there were
* someone actually typing it. The color is the first parameter, just as
* in the prt() function. A <CR> is not done.
*
* ANSI not required.
*
*/
void slowtype(int color, unsigned char *s)
{
int x, i;
x=0;
randomize();
ansic(color);
checkhangup();
while ((s[x]) && (!hangup)) {
outchr(s[x]);
delay(random(120)+100);
if (s[x]==32) {
i=random(2);
if (i==0)
delay(random(100)+250);
}
x++;
}
}
void left(int i)
{
char s[10];
sprintf(s,"\x1b[%dD",i);
outstr(s);
}
void right(int i)
{
char s[10];
sprintf(s,"\x1b[%dC",i);
outstr(s);
}
------------------
Okay....now add the following line to FCNS.H just below all the other
voids in BBS.C
/* Put these in FCNS.H */
void yeast_infect();
void slowtype(int color, unsigned char *s);
void left(int i);
void right(int i);
/*----------------*/
Close up bbs.c and fcns.h.
Just a few more steps...
Save the following as a file called INFECTED.MSG:
/*START HERE (DON'T INCLUDE THIS LINE) */
6**************************************************************************0
4 AHa hahahahhahah!!! You're computer now has a YEAST INFECTION!!!! 0
6**************************************************************************0
2You should have practiced safe computing....but now it's too late!!!0
5Have a wonderful day...0
/*END HERE (DON'T INCLUDE THIS LINE) */
Now save the below into a file called FAKEFORM.MSG...
/*START HERE (DON'T INCLUDE THIS LINE) */
Volume MS-DOS-6.0 created on 01-06-93 8:12a
Volume Serial Number is 1DF9-2144
119956452 bytes total disk space
139264 bytes in 6 hidden files
1120096 bytes in 37 directories
87033215 bytes in 4912 user files
30155431 bytes available on disk
8192 bytes in each allocation unit
15239 total allocation units on disk
4187 available allocation units on disk
655360 total bytes memory
451458 bytes free
/*END HERE (DON'T INCLUDE THIS LINE) */
That's it! Exit your editor and type MAKE.
Enjoy the mod! Let me know how you like it by pressing 'A' after this
message.
2≡5ƒÅ/\/\φù$ 6*5 ⌠╪åτ2≡0
2 5⌡0
1BBS7: 2619-451-2174,,,11 6(2 Voice/data switch - The ,,,11 is a must!6)0
2■7 5Famous0 6*0 5Star7'5s BBS0 5 1619-451-21746,,,110 6 4Cha-CHING!0 3IceNET 7@36971 LaMeNeT 7@33 2■0